How technology gained weight in the iShares MSCI Emerging Markets ETF
Emerging markets have often been viewed as a means of diversification. But at the same time, some of the emerging markets are heavily exposed to technology.
So I wanted to see how concentrated they are now. I examine the iShares MSCI Emerging Markets ETF (EEM), which follows the broad emerging market. I look at its sector exposure in the past and today, and whether it matches the US sector exposure.
Emerging markets have given a different sector exposure, but not now. Today, the share of Information Technology is almost the same as in the US, although the companies differ.
EEM follows the MSCI Emerging Markets Index of large- and mid-cap stocks. In 2018, MSCI and S&P moved Tencent, Alibaba and ten other internet companies in EEM out of Information Technology. The 12 companies still deal with technology, so I keep them in the technology group.
The appendix includes the code I use to download the holdings files and group the stocks.
Limitations
The study covers one ETF. Other ETFs that follow the same index hold the same companies.
Conclusion
So, if you buy emerging markets for diversification, you may be making the same sector bet as you would if you bought an ETF that follows the US market. In September 2026, Information Technology was 44% of EEM. On the same date, Information Technology was 40% of the S&P 500.
References
BlackRock. (n.d.). iShares MSCI Emerging Markets ETF [Historical holdings files, year-ends 2007–2025 and September 30, 2026]. https://www.ishares.com/us/products/239637/ishares-msci-emerging-markets-etf
S&P Dow Jones Indices. (2026). S&P 500 [Sector weights, September 30, 2026]. https://www.spglobal.com/spdji/en/indices/equity/sp-500/
Appendix: how the code builds the groups
I download the data from iShares, which publishes the EEM holdings for past dates. I use 31 December to get each year’s holdings. If 31 December falls on a weekend or a holiday, iShares returns a file without a date, so I have to go back to a day before that, at most a week.
from pathlib import Path
import re
import time
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import requests
# Path.cwd() is the folder this notebook runs in, and / joins a folder and a file name
FOLDER = Path.cwd()
HOLDINGS_FOLDER = FOLDER / "holdings" # one saved iShares file per date
CHART_FILE = FOLDER / "emerging_markets_sector_mix.png"
FUND, PORTFOLIO = "EEM", 239637 # the fund and iShares' number for it
FUND_NAME = "iShares MSCI Emerging Markets ETF" # the first line of each of its files
# 2007's year-end file is the first that gives each stock's sector
FIRST_YEAR, LAST_YEAR = 2007, 2025 # the year-ends
LATEST = pd.Timestamp("2026-09-30") # a date, the latest month-end
LOOK_BACK = 7 # days tried before a date, to find a file
# format() fills in {portfolio} and {date:%Y%m%d} later, and %Y%m%d writes a date as 20071231
URL = ("https://www.ishares.com/varnish-api/blk-one01-product-data/product-data/api/v1/"
"get-fund-document?appType=PRODUCT_PAGE&appSubType=ISHARES&targetSite=us-ishares"
"&locale=en_US&portfolioId={portfolio}&userType=individual&component=holdings"
"&asOfDate={date:%Y%m%d}")
# The four groups, from the bottom of each bar to the top
GROUPS = ["Technology", "Energy and materials", "Financials", "Everything else"]
# The site's chart colours: the cream background, the light grid lines, the pale frame, the axis
# labels and the tick labels, then the four groups
BG, GRID, SPINE = "#FCEFE3", "#EADCCC", "#D5C6B4"
AXIS_TEXT, TICK = "#4a4a4a", "#7a7168"
TEAL, ORANGE, GREY, PALE = "#17868A", "#D2822B", "#9C8F82", "#E2D3C2"# mkdir makes the folder, and exist_ok=True lets it exist already
HOLDINGS_FOLDER.mkdir(exist_ok=True)
def holdings_on(date):
"""EEM's stocks on one date, from the saved file or else downloaded and saved.
holdings_on(pd.Timestamp("2007-12-31")) gives a table with one row per stock: its ticker,
name, sector, weight in % and market value in dollars. On a weekend or holiday, iShares
answers with a file whose date is "-", and then the function gives None, so that the day
before can be tried. Any other unexpected answer stops the run."""
path = HOLDINGS_FOLDER / f"{FUND}_{date:%Y%m%d}.csv"
if not path.exists():
response = requests.get(URL.format(portfolio=PORTFOLIO, date=date),
headers={"User-Agent": "Mozilla/5.0 (academic research)"},
timeout=60)
response.raise_for_status() # stop if iShares answers with an error
time.sleep(1) # at most one request a second
# utf-8-sig drops the mark that some files start with
if not response.content.decode("utf-8-sig").startswith(FUND_NAME):
raise RuntimeError(f"iShares' answer for {date:%Y-%m-%d} does not name {FUND_NAME}")
path.write_bytes(response.content) # saved, a day without holdings too
# The first line names the fund, and the second gives the date of the holdings
lines = path.read_text(encoding="utf-8-sig").splitlines()
if len(lines) < 2 or lines[0] != FUND_NAME:
raise RuntimeError(f"{path.name} does not name {FUND_NAME}")
if lines[1] == 'Fund Holdings as of,"-"':
return None # a weekend or holiday, without holdings
expected_date = f'Fund Holdings as of,"{date:%b %d, %Y}"' # %b %d, %Y writes Dec 31, 2007
if lines[1] != expected_date:
raise RuntimeError(f"{path.name} gives another date: {lines[1]}")
# The table starts on the tenth line, and thousands="," reads 1,494.50 as 1494.5
table = pd.read_csv(path, skiprows=9, thousands=",")
# DataFrame.loc[rows, columns] selects rows and columns, here the stocks and five columns
stocks_held = table.loc[table["Asset Class"] == "Equity",
["Ticker", "Name", "Sector", "Weight (%)", "Market Value"]]
if stocks_held.empty: # empty is True for a table without rows
raise RuntimeError(f"{path.name} lists no stocks")
return stocks_held
# The dates to look up are each year-end, then the latest month-end. A list starts empty, and
# append adds one date at a time. range stops before its end, hence LAST_YEAR + 1
targets = []
for year in range(FIRST_YEAR, LAST_YEAR + 1):
targets.append(pd.Timestamp(f"{year}-12-31"))
targets.append(LATEST)
# For each target date, the first day with holdings, going back from the target itself past
# weekends and holidays, at most LOOK_BACK days. pd.Timedelta(days=back) is a length of time of
# back days, and break leaves the inner loop once a day with holdings is found
tables = []
for target in targets:
table = None
for back in range(LOOK_BACK + 1):
date = target - pd.Timedelta(days=back)
table = holdings_on(date)
if table is not None:
# assign adds two columns, the date asked for and the date of the file
tables.append(table.assign(target=target, date=date))
break
if table is None:
raise RuntimeError(f"no holdings file in the week before {target:%Y-%m-%d}")
# concat stacks the tables, and ignore_index=True numbers the rows afresh
holdings = pd.concat(tables, ignore_index=True)
# nunique() counts the different values
print(f"Dates with holdings: {holdings['date'].nunique()}, from "
f"{holdings['date'].min():%Y-%m-%d} to {holdings['date'].max():%Y-%m-%d}")Dates with holdings: 20, from 2007-12-31 to 2026-09-30
For the sector labels, one sector changed its name from Telecommunication Services to Communication, and I treat both names as Communication. Then some labels came from another classification in 2016 and 2017, which I map to their GICS sector. Sometimes stocks have no sector at all, as with Vale and Lukoil at the end of 2011, and I assign each the sector the company has on other dates. From 2007 to 2010, some holdings were iShares country ETFs, which are not companies, so I left them out.
# replace swaps each old label on the left for the label on its right. These are the old and new
# names of Communication, and three labels from another classification
holdings["Sector"] = holdings["Sector"].replace({
"Telecommunication Services": "Communication", "Communication Services": "Communication",
"Computers - Software": "Information Technology",
"Software - Telecom": "Information Technology", "Industrial Minerals": "Materials"})
# Words that say nothing about which company it is. A set holds each word once
WORDS_LEFT_OUT = {"ADR", "ADRS", "ADS", "GDR", "SPONSORED", "CLASS", "A", "B", "H", "N", "INC",
"LTD", "LIMITED", "CORP", "CORPORATION", "CO", "COMPANY", "PLC", "SA", "NV",
"AG", "GROUP", "HOLDING", "HOLDINGS", "ORD", "SHS", "THE"}
def telling_words(name):
"""A company's name without the words that say nothing about which company it is.
"ACME GROUP HOLDING ADR REPRESEN" and "ACME GROUP HOLDING LTD" both become ["ACME"]."""
# re.sub replaces every character that is not a capital letter, a digit or a space with a
# space, and split() cuts the name into words
words = re.sub(r"[^A-Z0-9 ]", " ", str(name).upper()).split()
kept = []
for word in words:
# Words starting with REP or SPONS are cut-off forms, such as "REPRESEN" and "REPTG"
left_out = word in WORDS_LEFT_OUT or word.startswith("REP") or word.startswith("SPONS")
if not left_out:
kept.append(word)
return kept
def name_key(name):
"""A company's first two telling words: "ACME MUSIC CORP INDUSTRIES" becomes "ACME MUSIC".
[:2] keeps the first two words of the list."""
return " ".join(telling_words(name)[:2])
def full_key(name):
"""A company's telling words, all of them: "ACME MUSIC CORP INDUSTRIES" becomes
"ACME MUSIC INDUSTRIES"."""
return " ".join(telling_words(name))
# map calls each function on every name. The full name tells two companies apart when their
# first two words are the same, and the first two words find a company whose name grew longer
holdings["key"] = holdings["Name"].map(name_key)
holdings["full_key"] = holdings["Name"].map(full_key)
no_sector = holdings["Sector"].isin(["-", "Other"])
# ~ turns True into False and False into True
with_sector = holdings.loc[~no_sector & (holdings["Sector"] != "Funds")]
def usual_sector_by(key):
"""Each company's most common sector at the dates with a sector, with the company found by the
column key, "full_key" or "key". On a tie, the first sector in alphabetical order."""
# size() counts the rows of each company and sector, and reset_index makes the count a column
counts = with_sector.groupby([key, "Sector"]).size().reset_index(name="count")
counts = counts.sort_values([key, "count", "Sector"], ascending=[True, False, True])
# drop_duplicates keeps each company's first row, and set_index makes the company the row label
return counts.drop_duplicates(key).set_index(key)["Sector"]
# A stock without a sector takes the sector that its company has most often at the other dates.
# The company is found by its full name, or by its first two words when the full name has no
# sector at any other date. map looks each company up, and a company that is not found gives a
# missing value, which fillna fills from the second lookup. A company without a sector at any
# date keeps "-", which counts as everything else
by_full_name = holdings.loc[no_sector, "full_key"].map(usual_sector_by("full_key"))
by_two_words = holdings.loc[no_sector, "key"].map(usual_sector_by("key"))
filled_sectors = by_full_name.fillna(by_two_words)
holdings.loc[no_sector, "Sector"] = filled_sectors.fillna("-")
largest_without_sector = holdings.loc[no_sector].groupby("date")["Weight (%)"].sum().max()
print(f"Stocks without a sector: {no_sector.sum()} rows over all dates, at most "
f"{largest_without_sector:.2f}% of the whole fund on one date. Given their company's "
f"sector at other dates: {filled_sectors.notna().sum()}, {by_full_name.notna().sum()} of "
f"them found by the full name")
# The iShares country funds that EEM held are not companies, so the code leaves them out
is_fund = holdings["Sector"] == "Funds"
largest_funds_weight = holdings.loc[is_fund].groupby("date")["Weight (%)"].sum().max()
print(f"Country funds left out: {is_fund.sum()} rows, at most {largest_funds_weight:.2f}% of the "
f"whole fund on one date")
# copy() makes the kept rows a table of their own, so that adding a column later changes it alone
holdings = holdings.loc[~is_fund].copy()
stocks_per_date = holdings.groupby("date").size()
# {number:,} writes commas between thousands, and {number:.1f} writes one decimal
print(f"Stocks per date: {stocks_per_date.min():,} to {stocks_per_date.max():,}")
stock_share = holdings.groupby("date")["Weight (%)"].sum()
print(f"Stocks as a share of the whole fund: {stock_share.min():.1f}% to {stock_share.max():.1f}%")
# unique() lists each sector once, and ", ".join puts them into one text with ", " between them
print("Sectors in the files: " + ", ".join(sorted(holdings["Sector"].unique())))Stocks without a sector: 64 rows over all dates, at most 2.71% of the whole fund on one date. Given their company's sector at other dates: 54, 48 of them found by the full name
Country funds left out: 12 rows, at most 0.48% of the whole fund on one date
Stocks per date: 334 to 1,278
Stocks as a share of the whole fund: 94.8% to 100.1%
Sectors in the files: -, Communication, Consumer Discretionary, Consumer Staples, Energy, Financials, Health Care, Industrials, Information Technology, Materials, Real Estate, Utilities
I took the companies listed as Information Technology at the end of 2017 and as Communication or Consumer Discretionary at the end of 2018. There were 12, and I counted them as technology at every date. I matched them by name, because their tickers changed.
# The internet companies that the classification moved out of Information Technology in
# September 2018 are those that EEM listed under Information Technology at the end of 2017 and
# under Communication or Consumer Discretionary at the end of 2018, matched by their name keys.
# Other internet companies, including those EEM bought after 2017, stay in their own sectors, so
# the technology share would be higher if the group took in every internet company
end_2017 = holdings.loc[holdings["target"] == pd.Timestamp("2017-12-31")]
end_2018 = holdings.loc[holdings["target"] == pd.Timestamp("2018-12-31")]
tech_in_2017 = set(end_2017.loc[end_2017["Sector"] == "Information Technology", "key"])
in_internet_sectors = end_2018["Sector"].isin(["Communication", "Consumer Discretionary"])
internet_sectors_in_2018 = set(end_2018.loc[in_internet_sectors, "key"])
# & keeps the names in both sets, and sorted makes a list of them in alphabetical order
internet_companies = sorted(tech_in_2017 & internet_sectors_in_2018)
print(f"Internet companies moved out of Information Technology in 2018: "
f"{len(internet_companies)}")
# map gives each sector its group, and fillna puts the other sectors, and the holdings without a
# sector, in "Everything else". Real Estate goes with Financials, because it was part of
# Financials until 2016
GROUP_OF_SECTOR = {"Information Technology": "Technology", "Energy": "Energy and materials",
"Materials": "Energy and materials", "Financials": "Financials",
"Real Estate": "Financials"}
holdings["group"] = holdings["Sector"].map(GROUP_OF_SECTOR).fillna("Everything else")
# The internet companies count as technology at every date
is_internet = holdings["key"].isin(internet_companies)
holdings.loc[is_internet, "group"] = "Technology"
print(f"Rows of those companies counted as technology: {is_internet.sum()}, at "
f"{holdings.loc[is_internet, 'date'].nunique()} of the {holdings['date'].nunique()} dates")Internet companies moved out of Information Technology in 2018: 12
Rows of those companies counted as technology: 134, at 20 of the 20 dates
Read next
- How do ETFs work? Creation and redemption, step by step Why an ETF’s price stays close to the value of its stocks.
- Growth stocks vs value stocks: faster revenue growth, lower five-year returns What the most expensive fifth of large US stocks grew and returned.
- Smart beta ETFs: lower average Sharpe ratios in all seven strategies What ETFs that choose their stocks by rules returned against their benchmarks.
- ETF index rebalancing: little abnormal return for stocks entering or leaving USMV Another study built from iShares’ holdings files.
Disclaimer: an empirical study for discussion purposes, not investment advice.
Data: I use iShares’ historical holdings files for EEM, covering each year’s last trading day from 2007 to 2025 and 30 September 2026. I got the sectors from the same files, which follow GICS. The S&P 500 sector weights on 30 September 2026 come from S&P Dow Jones Indices’ S&P 500 index page.